package com.heima.search.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 陈辉
 * @data 2024 16:15
 */
@ConfigurationProperties(prefix = "elasticsearch")
@Data
@Component
public class ESProperties {
    private String host;
    private String port;
}
